.goodsContent {
  flex: 1;
  overflow-y: auto;
  background-color: var(--theme-bg-primary);
  padding-bottom: 30px;
}

.user_info {
  // background-color: var(--theme-text-primary);
  margin-top: 10px;
  margin-bottom: 10px;
  padding: 10px;
  display: flex;
  align-items: center;

  .user_info_content {
    margin-left: 10px;
  }
}

.userMember {
  .userMemberLeve0 {
    height: 76px;
    background: linear-gradient(90deg, var(--theme-bg-warning) 0%, var(--theme-accent-warning) 100%);
    border-radius: 10px 10px 10px 10px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background-image: url("~@/assets/images/memberLevel0.png");
    background-repeat: no-repeat;
    background-size: cover;
    cursor: pointer;

    .userMemberLeve0Text {
      padding: 0;
      margin: 0;
      font-weight: 600;
      font-size: 20px;
      color: var(--theme-text-dark);
    }

    .userMemberLeve0Desc {
      padding: 0;
      margin: 0;
      font-size: 12px;
      color: var(--theme-text-dark);
      margin-top: 5px;
      display: flex;
      align-items: center;

      .userMemberLeve0DescSpan {
        background: var(--theme-bg-secondary);
        border-radius: 20px 20px 20px 20px;
        color: var(--theme-text-primary);
        font-size: 10px;
        padding: 2px 8px;
        margin-left: 10px;
      }
    }
  }

  .userMemberLeve {
    // width: 335px;
    width: 100%;
    height: 170px;
    border-radius: 10px;
    background: linear-gradient(132deg, var(--theme-primary) 0%, var(--theme-primary-hover) 39%, var(--theme-primary) 100%);
  }
}

.userInvite {
  height: 73px;
  background-image: url("~@/assets/images/invite.png");
  background-repeat: no-repeat;
  background-size: cover;
  margin-top: 10px;
}

.item_body {
  background-color: var(--theme-text-primary);
  margin: 10px;
  border-radius: 4px;
  padding: 10px;

  .item_content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

.goodsItem {
  // height: 256px;
  background: var(--theme-bg-card);
  border-radius: 10px 10px 10px 10px;
  display: flex;
  flex-direction: column;
  margin-top: 10px;

  .goodsItemTop {
    height: 40px;
    border-radius: 10px 10px 0px 0px;
    line-height: 40px;
    color: var(--theme-text-primary);
    font-weight: 600;
    font-size: 16px;
    padding-left: 20px;
    margin-bottom: 10px;
  }

  .goodsItemContent {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    // justify-content: space-around;
    .goodsLevelItem {
      width: 105px;
      height: 160px;
      border-radius: 10px 10px 10px 10px;
      position: relative;
      margin-top: 5px;
      margin-left: 5px;
      // margin-right: 2px;

      p {
        margin: 0;
        padding: 0;
      }

      .goodsLevelItemTitle {
        font-weight: 600;
        font-size: 14px;
        color: var(--theme-text-primary);
        text-align: center;
        // position: absolute;
        // left: 50%;
        // top: 2px;
        // top: 10px;
        // left: 10px;
      }

      .goodsLevelItemRenewWrap {
        height: calc(100% - 25px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
      }

      .goodsLevelItemRenew {
        width: 56px;
        height: 20px;
        text-align: center;
        line-height: 20px;
        font-weight: bold;
        font-size: 10px;
        color: var(--theme-text-primary);
      }

      .goodsLevelItemRenewDesc {
        font-size: 12px;
      }
    }
  }

  .goodsItemBottom {
    font-size: 10px;
    color: var(--theme-primary);
    text-align: right;
    padding-right: 10px;

    p {
      margin: 10px 0;
    }
  }
}

.goodsRowItem {
  margin-top: 10px;

  .goodsRowItemTop {
    height: 40px;
    border-radius: 10px 10px 0px 0px;
    line-height: 40px;
    background: var(--theme-bg-card);
    border-radius: 10px 10px 10px 10px;
    box-sizing: border-box;

    .goodsRowItemTopTitle {
      font-weight: 600;
      font-size: 16px;
      color: var(--theme-text-dark);
      box-sizing: border-box;
      padding-left: 20px;
    }
  }

  .goodsRowItemContent {
    background-color: var(--theme-text-primary);

    .goodsLevelRowItem {
      height: 120px;
      padding: 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-sizing: border-box;

      // display: flex;
      // flex-direction: column;
      // justify-content: space-between;
      .goodsLevelRowItemTitle {
        font-weight: 600;
        font-size: 16px;
        color: var(--theme-text-dark);
      }

      .goodsLevelRowItemRenewWrap {
        display: flex;
        justify-content: space-between;
        .goodsLevelRowItemTitleDesc  {
          display: flex;
          align-items: center;
        }
        .price {
          font-weight: 900;
          font-size: 20px;
          // color: var(--theme-text-dark);
        }

        .goodsLevelRowItemdesc {
          margin-left: 5px;
          color: var(--theme-primary);
          font-size: 12px;
        }

        .goodsLevelRowItemDo {
          padding: 4px 10px;
          color: var(--theme-text-primary);
          border-radius: 20px;
          font-size: 10px;
        }
      }
    }
  }

  .goodsItemBottom {
    font-size: 10px;
    color: var(--theme-primary);
    text-align: right;
    padding-right: 10px;

    p {
      margin: 10px 0;
    }
  }
}

.balanceCard {
  background: linear-gradient(135deg, var(--theme-accent-warning), var(--theme-accent-warning));
  padding: 20px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);

  .balanceTitle {
    color: var(--theme-text-primary);
    font-size: 18px;
  }

  .balanceAmount {
    display: flex;
    align-items: center;
    gap: 8px;
    .gemIcon {
      color: var(--theme-text-primary);
      font-size: 24px;
    }

    .amount {
      color: var(--theme-text-primary);
      font-size: 28px;
      font-weight: bold;
    }
  }
}

.rechargeSection {
  padding: 24px;

  .sectionTitle {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--theme-text-secondary);
    position: relative;
    display: inline-block;

    &:after {
      content: '';
      position: absolute;
      bottom: -5px;
      left: 0;
      height: 2px;
      width: 100%;
      background: var(--theme-accent-warning);
    }
  }
}

.rechargeGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.rechargeOption {
  background: white;
  border-radius: 12px;
  padding: 16px;
  text-align: center;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);

  &:active {
    transform: scale(0.98);
  }

  &.selected {
    border-color: var(--theme-accent-warning);
    background-color: var(--theme-bg-warning);

    &:before {
      content: '✓';
      position: absolute;
      top: -2px;
      right: -2px;
      width: 20px;
      height: 20px;
      background: var(--theme-accent-warning);
      color: white;
      border-radius: 50%;
      font-size: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }

  .diamonds {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
  }

  .price {
    color: rgb(107, 114, 128);
    text-decoration: line-through;
  }
  .pay_price {
    color: rgb(107, 114, 128);
  }

  .payPrice {
    color: var(--theme-text-dark);
    font-weight: bold;
    font-size: 14px;
  }

  .bonus {
    background: var(--theme-accent-danger);
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 4px;
  }
}

.rechargeInfo {
  padding: 24px;

  .infoContent {
    background: var(--theme-bg-card);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

    .infoIcon {
      color: var(--theme-primary);
      font-size: 24px;
      flex-shrink: 0;
      margin-top: 4px;
    }

    .infoText {
      font-size: 16px;
      color: var(--theme-text-muted);

      p {
        margin: 0;
        margin-bottom: 12px;
        &:last-child {
          margin-bottom: 0;
        }
      }

      .infoTitle {
        color: var(--theme-text-primary);
        font-weight: 600;
        margin-bottom: 8px;
      }
    }
  }
}

// 支付相关样式
.payItemWrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 0;

  span {
    font-size: 16px;
  }
}

.vipContent {
  ul {
    padding-left: 10px;

    li {
      margin: 10px;
      font-weight: 500;
      font-size: 10px;
      color: var(--theme-text-dark);
    }
  }
}

.paymentOptions {
  background: var(--theme-bg-secondary);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.paymentOption {
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--theme-bg-card);
  border-radius: 8px;
  border: 1px solid var(--theme-border-primary);
  transition: all 0.2s ease;
  cursor: pointer;

  &:hover {
    border-color: var(--theme-primary);
    background-color: var(--theme-bg-card);
  }

  &.selected {
    border-color: var(--theme-primary);
    background-color: var(--theme-bg-card);
  }

  .paymentLeft {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .paymentIcon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-text-primary);
    font-size: 16px;
    font-weight: bold;

    .wxIcon {
      color: var(--theme-success);
      font-size: 20px;
    }

    .tbIcon {
      color: var(--theme-accent-warning);
      font-size: 20px;
    }

    .balanceIcon {
      color: var(--theme-accent-warning);
      font-size: 20px;
    }
  }

  .paymentInfo {
    .paymentName {
      font-size: 15px;
      font-weight: 500;
      color: var(--theme-text-primary);
    }

    .paymentDesc {
      font-size: 12px;
      color: var(--theme-text-muted);
      margin-top: 2px;
    }
  }
}

.paymentRadio {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  border: 2px solid var(--theme-text-muted);
  background-color: transparent;

  &.selected {
    border-color: var(--theme-accent-warning);
    background-color: var(--theme-accent-warning);

    &:after {
      content: '✓';
      color: var(--theme-text-primary);
      font-size: 10px;
      font-weight: bold;
    }
  }
}

.paymentFooter {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--theme-bg-primary);
  padding: 16px 24px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  z-index: 100;
  border-top: 1px solid var(--theme-border-primary);
}

.payButton {
  background: var(--theme-primary);
  border: none;
  height: 56px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 28px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(236, 72, 153, 0.3);
  position: relative;
  overflow: hidden;
  color: var(--theme-text-primary);

  &:active {
    transform: translateY(2px);
    box-shadow: 0 2px 8px rgba(236, 72, 153, 0.3);
  }

  &::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.2);
    opacity: 0;
    transition: opacity 0.3s;
  }

  &:active::after {
    opacity: 1;
  }

  &:disabled {
    opacity: 0.6;
    background: var(--theme-text-muted);
    box-shadow: none;
  }

  &:hover:not(:disabled) {
    background: var(--theme-primary);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
  }

  .payButtonDivider {
    margin: 0 12px;
    color: rgba(255, 255, 255, 0.6);
  }
}

// 添加超级会员卡片样式
.superVipCard {
  background: var(--theme-bg-card);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  color: var(--theme-text-dark);

  &:active {
    transform: scale(0.98);
  }

  &.selected {
    border: 2px solid var(--theme-accent-warning);
    background-color: var(--theme-bg-warning);

    &:after {
      content: '✓';
      position: absolute;
      top: -2px;
      right: -2px;
      width: 20px;
      height: 20px;
      background: var(--theme-accent-warning);
      color: white;
      border-radius: 50%;
      font-size: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
}

.vipHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;

  .vipTitleWrap {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .vipIcon {
    font-size: 24px;
    color: var(--theme-secondary);
  }

  .vipTitle {
    font-size: 18px;
    font-weight: bold;
  }

  .vipPrice {
    font-size: 18px;
    font-weight: bold;
    color: var(--theme-accent);
  }
}

.vipBenefits {
  .benefitItem {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    color: var(--theme-text-muted);
    svg {
      flex-shrink: 0;
    }
    &:last-child {
      margin-bottom: 0;
    }

    .checkIcon {
      font-size: 16px;
      margin-right: 8px;
      color: var(--theme-success);
    }

    span {
      font-size: 14px;

      .highlight {
        color: var(--theme-error);
        font-weight: bold;
        margin: 0 2px;
      }
    }
  }
}

.divider {
  position: relative;
  height: 1px;
  background: var(--theme-border-primary);
  margin: 20px 16px;

  span {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--theme-bg-secondary);
    padding: 0 15px;
    font-size: 14px;
    color: var(--theme-text-muted);
  }
}

// 积分充值卡片样式
.pointsCard {
  background: var(--theme-bg-card);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

  .pointsInfo {
    .pointsAmount {
      font-size: 24px;
      font-weight: bold;
      color: var(--theme-text-primary);
      margin-bottom: 4px;
    }

    .pointsDesc {
      font-size: 14px;
      color: var(--theme-text-muted);
    }
  }

  .pointsButton {
    background: var(--theme-primary);
    color: var(--theme-text-primary);
    font-weight: bold;
    padding: 12px 32px;
    border-radius: 24px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;

    &:hover {
      background: var(--theme-primary);
    }

    &:active {
      transform: scale(0.98);
    }

    &:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      transform: none;
    }
  }
}

// 额外积分充值选项样式
.additionalPointsOptions {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;

  .pointsCard {
    background: var(--theme-bg-card);
    border: 1px solid var(--theme-border-secondary);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;

    &:hover {
      border-color: var(--theme-primary);
      box-shadow: 0 4px 12px rgba(236, 72, 153, 0.2);
    }
  }
}

// 会员卡片样式
.memberCards {
  display: flex;
  flex-direction: column;
  gap: 24px;

  .loadingText {
    text-align: center;
    color: var(--theme-text-muted);
    font-size: 16px;
    padding: 40px 0;
  }
}

.memberCard {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;

  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  }

  &.selected {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.3);
  }

  .memberHeader {
    margin-bottom: 24px;

    .memberPrice {
      text-align: right;

      .priceAmount {
        font-size: 32px;
        font-weight: bold;
        color: var(--theme-text-primary);
      }

      .priceUnit {
        font-size: 18px;
        color: var(--theme-text-muted);
        font-weight: normal;
      }
    }

    .memberInfo {
      width: 100%;

      .memberTitle {
        font-size: 24px;
        font-weight: bold;
        margin: 0 0 8px 0;
        width: 100%;
        word-wrap: break-word;
        line-height: 1.2;
      }

      .memberDesc {
        font-size: 14px;
        color: var(--theme-text-muted);
        margin-bottom: 16px;
        width: 100%;
        word-wrap: break-word;
        line-height: 1.4;
      }

      .modelTags {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;

        .modelTag {
          background: rgba(255, 255, 255, 0.1);
          color: var(--theme-text-primary);
          font-size: 12px;
          font-weight: 500;
          padding: 4px 12px;
          border-radius: 12px;
        }
      }
    }
  }

  .memberButton {
    width: 100%;
    background: var(--theme-primary);
    color: var(--theme-text-primary);
    font-weight: bold;
    padding: 12px;
    border-radius: 24px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;

    &:hover {
      background: var(--theme-primary);
    }

    &:active {
      transform: scale(0.98);
    }
  }
}

// UR 会员卡片特殊样式
.urCard {
  background: var(--theme-bg-primary);
  border-color: rgba(212, 175, 55, 0.5);
  background-image: radial-gradient(circle at top right, rgba(212, 175, 55, 0.15), transparent 40%);

  .memberTitle {
    color: var(--theme-accent-warning);
  }

  .modelTag {
    background: rgba(212, 175, 55, 0.1);
    color: var(--theme-accent-warning);
  }
}

// SSR 会员卡片特殊样式
.ssrCard {
  background: var(--theme-bg-primary);
  border-color: rgba(192, 192, 192, 0.5);
  background-image: radial-gradient(circle at top right, rgba(192, 192, 192, 0.15), transparent 40%);

  .memberTitle {
    color: var(--theme-text-muted);
  }

  .modelTag {
    background: rgba(192, 192, 192, 0.1);
    color: var(--theme-text-muted);
  }
}

// SR 会员卡片特殊样式
.srCard {
  background: var(--theme-bg-primary);
  border-color: rgba(106, 137, 204, 0.5);
  background-image: radial-gradient(circle at top right, rgba(106, 137, 204, 0.15), transparent 40%);

  .memberTitle {
    color: var(--theme-accent-info);
  }

  .modelTag {
    background: rgba(106, 137, 204, 0.1);
    color: var(--theme-accent-info);
  }
}


// 积分使用说明样式
.pointsUsageCard {
  background: var(--theme-bg-card);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

  .usageItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;

    .usageLabel {
      font-size: 16px;
      color: var(--theme-text-secondary);
    }

    .usagePoints {
      font-size: 16px;
      font-weight: 600;
      color: var(--theme-text-primary);
    }
  }

  .usageDivider {
    width: 100%;
    height: 1px;
    background: var(--theme-border-primary);
  }

  // 充值说明文字样式
  p {
    color: var(--theme-text-primary);
    margin: 8px 0;
    font-size: 16px;
    line-height: 1.5;

    &.infoTitle {
      color: var(--theme-text-primary);
      font-weight: 600;
      font-size: 18px;
      margin-bottom: 16px;
    }
  }
}